package com.atguigu.spzx.model.vo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;

/**
 * @author syh
 * @create 2023-08-21 17:00
 */
@Data
@HeadStyle(borderLeft = BorderStyleEnum.DOUBLE , borderRight = BorderStyleEnum.MEDIUM,
        fillBackgroundColor = 12 , fillPatternType = FillPatternTypeEnum.BIG_SPOTS)
@HeadFontStyle(fontName = "微软雅黑")
@HeadRowHeight(value = 50)
public class ExcelCategoryVo {
    @ExcelProperty(value = "编号")
    private Long id;
    @ExcelProperty(value = "分类名称")
    private String name;
    @ExcelProperty(value = "图标")
    private String imageUrl;
    @ExcelProperty(value = "父分类id")
    private Long parentId;
    @ExcelProperty(value = "是否显示")
    private Integer status;
    //排序
    @ExcelProperty(value = "排序")
    private Integer orderNum;
}
